package com.todo.strategy.online.iface;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.online.iface.request.InsertPlanContentParam;
import com.todo.strategy.online.iface.request.QueryPlanContentByIdParam;
import com.todo.strategy.online.iface.request.RemovePlanContentParam;
import com.todo.strategy.online.iface.request.UpdatePlanContentParam;
import com.todo.strategy.online.iface.response.PlanContentInfoVO;

/**
 * @author azhebuxing
 * @date 2024/5/9 21:03
 * @description
 */
public interface PlanContentFrontendIface {

    /**
     * 新增计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> insertPlanContent(InsertPlanContentParam param);

    /**
     * 更新计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updatePlanContent(UpdatePlanContentParam param);

    /**
     * 删除计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removePlanContent(RemovePlanContentParam param);

    /**
     * 根据计划清单Id查询关联内容列表
     *
     * @param param
     * @return
     */
    BizResponse<PlanContentInfoVO> queryPlanContentById(QueryPlanContentByIdParam param);


}
